Skip to content

Fix workflow tool restore with package source mapping - #1338

Merged
joseharriaga merged 1 commit into
mainfrom
copilot/investigate-workflow-failure
Aug 25, 2026
Merged

Fix workflow tool restore with package source mapping#1338
joseharriaga merged 1 commit into
mainfrom
copilot/investigate-workflow-failure

Conversation

Copilot AI commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Release and test workflows fail before build because dotnet tool restore --add-source conflicts with package source mapping in nuget.config.

  • Workflow restore
    • Remove redundant Azure SDK --add-source overrides from release, live-test, and record-test workflows.
    • Use the repository-configured Azure SDK feed and mappings.
- name: Restore tools
  run: dotnet tool restore

Co-authored-by: joseharriaga <45773732+joseharriaga@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes GitHub Actions workflow failures caused by using dotnet tool restore --add-source in a repo that already enforces NuGet package source mapping via nuget.config. It standardizes tool restore across workflows to rely on the repository-configured feeds and mappings.

Changes:

  • Removed the Azure SDK --add-source override from tool restore steps in release and test workflows.
  • Restored tools using plain dotnet tool restore to comply with nuget.config package source mapping.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/release.yml Removes --add-source from dotnet tool restore to avoid source mapping conflicts during release runs.
.github/workflows/record-test.yml Removes --add-source from dotnet tool restore so Record-mode tests restore tools via mapped sources.
.github/workflows/live-test.yml Removes --add-source from dotnet tool restore so Live/Playback test workflow uses repo feed mappings.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@joseharriaga
joseharriaga merged commit 56076da into main Aug 25, 2026
11 of 13 checks passed
@joseharriaga
joseharriaga deleted the copilot/investigate-workflow-failure branch August 25, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants